package org.ch02.test00.demo08.teacherWork;

import org.ch02.entity.Staffs;

import java.util.HashMap;
import java.util.Map;
import java.util.TreeMap;

/**
 * @author CSY
 * @date 2025 - 03 - 20
 */
public class MainTest {
    public static void main(String[] args) {
        Map<String, Object> cond = new HashMap<>();
        cond.put("id", "1");
        cond.put("name", "张三");

        Object bean = DbUtil.select4Bean(Staffs.class, cond);
        System.out.println(bean);

    }
}
